<?php
/**
 * Created by PhpStorm.
 * User: 徐州
 * Date: 2017/5/24
 * Time: 15:38
 */

namespace App\Providers\Repositories;

use App\Contracts\Repositories\ResourceRepository;
use Illuminate\Support\ServiceProvider;

class ResourceServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->singleton(
            ResourceRepository::class,
            \App\Models\Resource\ResourceRepository::class
        );
    }

    public function provides()
    {
        return array(ResourceRepository::class);
    }
}
